const mongoose = require('mongoose')

mongoose.connect('mongodb+srv://1901314481:m-6gQ_UVqiAAX6w@cluster0.sqp8v2l.mongodb.net/').then(() => {
    console.log('数据库连接成功');
}).catch(err => {
    console.log(err);
    console.log('数据库连接失败');
})

module.exports = mongoose